package com.j2eefast.produce.pms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.j2eefast.common.core.base.entity.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 工程项目
 * pms_sample_output
 * @author: summer
 * @date 2021-05-29 10:28
 */
@Data
@TableName("pms_project")
public class PmsProjectEntity extends BaseEntity{

//    /** 主键 */
//    @TableId(value = "id",type = IdType.INPUT)
//    private Long id;

    /**项目编号*/
//    @TableField(value = "project_code")
    @TableId(value = "project_code",type = IdType.INPUT)
    private Long projectCode;

    /** 行政区划 */
    @TableField(value = "region")
    private String region;

    /** 项目类型 */
    @TableField(value = "project_type")
    private String projectType;

    /** 项目名字 */
    @TableField(value = "project_name")
    private String projectName;

    /** 作废 */
    @TableField(value = "project_status")
    private int projectStatus;

    /** 登记时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "update_time")
    private Date updateTime;

    /** 登记时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "create_time")
    private Date createTime;

    /** 作废 */
    @TableField(value = "create_by")
    private String createBy;

    /** 作废 */
    @TableField(value = "update_by")
    private String updateBy;

    /** 作废 */
    @TableField(value = "remark")
    private String remark;
















}
